package apiday01homework;

public class StartswithDemo {
    public static void main(String[] args)
    {
        String str = "Hello World";
        boolean b = str.startsWith("H");
        System.out.println(b);
        boolean b1 = str.endsWith("d");
        System.out.println(b1);
    }
}
